﻿namespace Drill.Core
{
	/// <summary>
	/// Used to obtain an instance of the default <see cref="IDependencyResolver"/> implementation.
	/// </summary>
	public static class BuiltInDefaultDependencyResolverFactory
	{
		/// <summary>
		/// Creates a new instance of the default <see cref="IDependencyResolver"/> implementation.
		/// </summary>
		/// <param name="initContext">The initialization context.</param>
		/// <returns>
		/// A new instance of the default <see cref="IDependencyResolver"/> implementation.
		/// </returns>
		public static IDependencyResolver CreateInstance(IDependencyResolverInitContext initContext)
		 {
			 return new DrillChuckDependencyResolver(initContext);
		 }
	}
}